﻿using System.Runtime.Serialization;

namespace WP7BackupService
{
	/// <summary>
	/// A class to specify which file to download
	/// </summary>
	[DataContract]
	public class FileDownloadInfo
	{
		/// <summary>
		/// The specific application for which we are retrieving the file
		/// </summary>
		[DataMember]
		public string Application;

		/// <summary>
		/// The tag that identifies the backup set
		/// </summary>
		[DataMember]
		public string Set;

		/// <summary>
		/// The name of the file to mirror on the device
		/// this will contain the full path as you'll have it inside the 
		/// IsolatedStorage
		/// </summary>
		[DataMember]
		public string Name;
	}
}